package com.pactera.demo.base.service;

import com.pactera.demo.base.dto.UserRole;
import com.pactera.demo.base.entity.LoginUser;
import com.pactera.demo.base.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户个人信息表 服务类
 * </p>
 *
 * @author mybatis.plus
 * @since 2020-02-27
 */
public interface IUserService extends IService<User> {

    void bindRolesToUser(List<UserRole> userRoles);

    void saveUser(User user, LoginUser loginUser);
}
